package com.imast.android.bys.ui.fragment;

import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.SupportMapFragment;
import com.imast.android.bys.R;

import android.support.v4.app.FragmentActivity;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.view.View;

public class SeguimientoHelper {

	private FragmentActivity mActivity;
	private ActionBar actionBar;
	
	private GoogleMap map;
		
	public FragmentActivity getActivity() {
		return mActivity;
	}

	public ActionBar getActionBar() {
		return actionBar;
	}
	
	public GoogleMap getMap() {
		return map;
	}
	
	public SeguimientoHelper(FragmentActivity mActivity, View rootView) {
		this.mActivity = mActivity;
		this.actionBar = ((ActionBarActivity)mActivity).getSupportActionBar();
		
		//this.map = ((SupportMapFragment) mActivity.getSupportFragmentManager().findFragmentById(R.id.mapSeguimiento)).getMap();
		
		initConfig();
	}
	
	private void initConfig(){
		
		//getMap().setMyLocationEnabled(true);
		
	}
	
}
